import 'package:flutter/material.dart';

export 'eraser_pen.dart';
export 'scrawl_pen.dart';

abstract class BasePen {
  //绘制图形
  void draw(Canvas canvas, {bool isRedraw = false});

  //按下事件
  bool downEvent(Offset touchPoint);

  //滑动事件
  bool moveEvent(Offset touchPoint);

  //抬手事件
  bool upEvent(Offset touchPoint);

  String getBrushId();
}
